package com.ym.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * 用户表Entity
 *
 * @auther gilgamesh_ym
 * @date 2021/3/17 19:40
 **/
@TableName("t_user")
@Data
@EqualsAndHashCode
@ToString
public class User implements Serializable {

    private static final long serialVersionUID = -3134678301762371906L;
    /**
     * 主键
     **/
    @TableId
    private Integer id;

    private String userId;

    private String userName;

    private String password;
}
